package com.yd.pojo;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

@TableName("citys")
public class Citys extends Model<Citys>{
	private static final long serialVersionUID = 1L;
	@TableId(value="id",type=IdType.AUTO)
	private Integer id;
	private String tid;
	private String idstr;
	private String pid;
	private String title;
	private String shouzimu;
	private String quanpin;
	private String hot;
	private String addtime;
	private String uptime;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getIdstr() {
		return idstr;
	}
	public void setIdstr(String idstr) {
		this.idstr = idstr;
	}
	public String getTid() {
		return tid;
	}
	public void setTid(String tid) {
		this.tid = tid;
	}
	public String getPid() {
		return pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getShouzimu() {
		return shouzimu;
	}
	public void setShouzimu(String shouzimu) {
		this.shouzimu = shouzimu;
	}
	public String getQuanpin() {
		return quanpin;
	}
	public void setQuanpin(String quanpin) {
		this.quanpin = quanpin;
	}
	
	public String getHot() {
		return hot;
	}
	public void setHot(String hot) {
		this.hot = hot;
	}
	public String getAddTime() {
		return addtime;
	}
	public void setAddTime(String addTime) {
		this.addtime = addTime;
	}
	public String getUpTime() {
		return uptime;
	}
	public void setUpTime(String upTime) {
		this.uptime = upTime;
	}
	@Override
	protected Serializable pkVal(){
		return this.id;
	}
}
